package com.qzw.security.api.event;

import com.qzw.security.api.model.User;
import org.springframework.context.ApplicationEvent;

/**
 * @author ：quziwei
 * @date ：Created in 2020/6/8 6:47 下午
 * @description：添加用户事件
 */

public class AddUserEvent extends ApplicationEvent {
    public AddUserEvent(User source) {
        super(source);
    }

    @Override
    public User getSource() {
        return (User) super.getSource();
    }
}
